package com.time.task;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 使用springTask实现定时任务主启动类
 * @author Lelezhang
 * @create 2020-07-21 22:03
 */
@SpringBootApplication
//@EnableScheduling //定时任务开启
public class TimeTaskApplication {
    public static void main(String[] args) {
        SpringApplication.run(TimeTaskApplication.class, args);
    }
}
